Skip to content

remove plugin from generated import registry#140

Merged
jfhamlin merged 1 commit intomainfrom
codex/issue-139-go1.26-linker-crash
Mar 29, 2026
Merged

remove plugin from generated import registry#140
jfhamlin merged 1 commit intomainfrom
codex/issue-139-go1.26-linker-crash

Conversation

@jfhamlin
Copy link
Copy Markdown
Contributor

@jfhamlin jfhamlin commented Mar 29, 2026

Summary

Remove plugin from the generated import registry and regenerate the checked-in pkg/gen/gljimports files.

Why

plugin is not needed in the default package map, and keeping it in the generated registry forces external linking on darwin/arm64.

During investigation for issue #139, that external-link path consistently reproduced a Go linker panic when combined with glojure's large clojure.core AOT object. Removing plugin at the generator source removes that trigger from all generated targets.

Impact

Glojure code will no longer resolve plugin.* through the default generated package map.

Validation

  • make glj-imports
  • rg -n 'plugin\.|"plugin"|plugin/' cmd/gen-import-interop/main.go pkg/gen/gljimports
  • go build ./cmd/glj

@jfhamlin jfhamlin marked this pull request as ready for review March 29, 2026 16:47
@jfhamlin jfhamlin changed the title [codex] remove plugin from generated import registry remove plugin from generated import registry Mar 29, 2026
@jfhamlin jfhamlin merged commit 9eacc0f into main Mar 29, 2026
2 checks passed
@jfhamlin jfhamlin deleted the codex/issue-139-go1.26-linker-crash branch March 29, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant